/*
 * @Descripttion: Web Project
 * @version: 1.0
 * @Author: Hsu.WenChing
 * @Mail: 2510129345@qq.com
 * @Date: 2020-07-31 09:04:29
 * @LastEditors: Xu.wenqing
 * @LastEditTime: 2020-08-05 15:10:36
 */
import Vue from 'vue';
import Router from 'vue-router';
import goods from '@/components/goods/goods';
import ratings from '@/components/ratings/ratings';
import seller from '@/components/seller/seller';
Vue.use(Router);

export default new Router({
	linkActiveClass: 'active',
	mode: 'history',
	routes: [
		{
			path: '/',
			redirect: '/goods'
		},
		{
			path: '/goods',
			component: goods
		},
		{
			path: '/ratings',
			component: ratings
		},
		{
			path: '/seller',
			component: seller
		}
	]
});
